<?php
/**
 * 获取rakuten订单 （rakuten基础数据）
 * User: bgl
 * Date: 2023/10/25
 * Time: 17:58
 */

namespace App\Console\Commands\Rakuten;

use App\Logic\Plat\Rakuten\GrabOrders;
use Illuminate\Console\Command;

class RakutenGetOrders extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'rakuten:get-rakuten-orders';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'exe func';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        GrabOrders::getRakutenOrder();
        $this->info('finish!');
    }

}
